﻿using DeZhen.DataCollection.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeZhen.DataCollection.Model.DTO.CollectionTask
{
    /// <summary>
    /// 采集任务明细DTO
    /// </summary>
    public class CollectionTaskDetailDTO
    {
        /// <summary>
        /// 采集业务表名
        /// </summary>
        public string? TableName { get; set; }

        /// <summary>
        /// 采集业务表中文名
        /// </summary>
        public string? TableCnName { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime? ExecuteDate { get; set; }

        /// <summary>
        /// 数据行数
        /// </summary>
        public int? AffectRows { get; set; }

        /// <summary>
        /// 执行状态：0未知，1成功，2失败
        /// </summary>
        public ExecuteStatusEnum Status { get; set; }
    }
}
